﻿// Developer Express Code Central Example:
// World Wide CRM Demo
// 
// The World Wide CRM demo is a next generation application with outstanding
// navigation capabilities and shows a reimagined view of customer contact and
// management. This demo showcases many of the most popular features of the
// WinForms Subscription.
// 
// You can find sample updates and versions for different programming languages here:
// http://www.devexpress.com/example=E3993

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using DevExpress.Skins.Info;
using DevExpress.Skins;

namespace DevExpress.CrmDemo.Win
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            SkinBlobXmlCreator skinCreator = new SkinBlobXmlCreator("MetroDark", "DevExpress.CrmDemo.Win.SkinData.", typeof(Program).Assembly, null);

            SkinManager.Default.RegisterSkin(skinCreator);
            LookAndFeel.UserLookAndFeel.Default.SetSkinStyle("MetroDark");

            DevExpress.Skins.SkinManager.EnableFormSkins();
            DevExpress.CrmDemo.Win.Data.DataGenerator.CreateSampleDocuments();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
    }
}